﻿using System.Collections.Generic;

namespace WeWork.SDK.Framework.Entitys.Send
{
    /// <summary>
    /// 日程消息
    /// </summary>
    public class ChatCalendar : ChatSend
    {
        /// <summary>
        /// 
        /// </summary>
        public ChatCalendarDetail calendar { get; set; }
    }

    public class ChatCalendarDetail
    {
        /// <summary>
        /// 消息标题。String类型
        /// </summary>
        public string title { get; set; }

        /// <summary>
        /// 日程组织者。String类型
        /// </summary>
        public string creatorname { get; set; }

        /// <summary>
        /// 日程参与人。数组，内容为String类型
        /// </summary>
        public List<string> attendeename { get; set; }

        /// <summary>
        /// 链接图片url。String类型
        /// </summary>
        public long starttime { get; set; }

        /// <summary>
        /// 日程结束时间。Utc时间，单位秒
        /// </summary>
        public long endtime { get; set; }

        /// <summary>
        /// 日程地点。String类型
        /// </summary>
        public string place { get; set; }

        /// <summary>
        /// 日程备注。String类型
        /// </summary>
        public string remarks { get; set; }
    }
}
